package io.renren.common.utils;

import java.util.Date;

/**
 * Created by Administrator on 2018/10/19.
 */
public class RandomId {
    public static long createId() {
        long ts = new Date().getTime();
        long randomNum = (long)(Math.random()*99+1)*1000;
        return ts + randomNum;
    }
}
